package com.czl.module_service.adapter.asset

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseDataBindingHolder
import com.czl.base.binding.command.BindingCommand
import com.czl.base.binding.command.BindingConsumer
import com.czl.base.data.bean.tengyun.MoveSortBean
import com.czl.module_service.R
import com.czl.module_service.databinding.ItemAssetStoreApplySortListBinding
import com.czl.module_service.fragment.assetUse.MyAssetStoreApplyDetailFragment

class MyAssetStoreApplySortListAdapter(private val fragment: MyAssetStoreApplyDetailFragment) :
    BaseQuickAdapter<MoveSortBean, BaseDataBindingHolder<ItemAssetStoreApplySortListBinding>>(
        R.layout.item_asset_store_apply_sort_list
    ) {

    override fun convert(
        holder: BaseDataBindingHolder<ItemAssetStoreApplySortListBinding>,
        item: MoveSortBean,
    ) {
        holder.dataBinding?.run {
            data = item
            adapter = this@MyAssetStoreApplySortListAdapter
            executePendingBindings()
        }
    }

    val onItemClick: BindingCommand<Any> = BindingCommand(BindingConsumer {

    })
}
